package dao.dto;

import util.Util;

public class ClientParticulierDto extends PersonneDto{
        private int _idClient;
        private String _numeroTVA;
        
        //Constructeurs
	public ClientParticulierDto(    int idClient, String nom, String prenom, String numeroTVA,
                                        AdresseDto adresse, String telephone, String email) {
		super(nom, prenom, adresse, telephone, email);
		setNumeroClient(idClient);
                setNumeroTVA(numeroTVA);
	}
       
        public ClientParticulierDto(    int idClient, String nom, String prenom, 
                                        AdresseDto adresse, String telephone, String email) {
		super(nom, prenom, adresse, telephone, email);
		setNumeroClient(idClient);
	}
               

        public ClientParticulierDto(    String nom, String prenom, String numeroTVA,AdresseDto adresse,
                                        String telephone, String email) {
		super(nom, prenom, adresse, telephone, email);
		setNumeroTVA(numeroTVA);
	}

        public ClientParticulierDto(    String nom, String prenom, AdresseDto adresse,
                                        String telephone, String email) {
		super(nom, prenom, adresse, telephone, email);
	}
        
        //Setters
        public void setNumeroClient(int idClient) {
		Util.checkPositive(idClient);
                this._idClient = idClient;
	}
	
        public void setNumeroTVA(String numeroTVA) {
//		Util.checkString(numeroTVA);
                this._numeroTVA = numeroTVA;
	}
 
        //Getters
        public int getIdClient() {
		return _idClient;
	}
	
        public String getNumeroTVA() {
		return _numeroTVA;
	}
}